package com.amigo.online.common.param.dto.user;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.Pattern;

public class UserInfoDto {
	
	@Length(min=0,max=60)	
	private String nickname;
	
	@Pattern(regexp="\\b(UN|M|F)\\b")
	private String sex;
	
	private Integer country;
	
	private Integer province;
	
	private Integer city;
	
	@Length(min=0, max=60)	
	private String company;
	
	@Length(min=0, max=60)	
	private String job;
	
	@Length(min=0, max=60)	
	private String school;
	
	@Min(0)
	@Max(3)
	private Integer love;
	
	@Length(min=0,max=200)	
	private String sign;
	
	private Integer homeCountry;
	
	private Integer homeProvince;
	
	private Integer homeCity;
	
	@Length(min=0, max=200)
	private String avatar;
	
	@Length(min=0,max=200)	
	private String background;
	
	private Long birthday;
	
	@Min(0)
	@Max(2)
	private Integer secret;
	
	@Length(min=0,max=200)	
	private String home;
	
	public Integer getSecret() {
		return secret;
	}
	public void setSecret(Integer secret) {
		this.secret = secret;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getCountry() {
		return country;
	}
	public void setCountry(Integer country) {
		this.country = country;
	}
	public Integer getProvince() {
		return province;
	}
	public void setProvince(Integer province) {
		this.province = province;
	}
	public Integer getCity() {
		return city;
	}
	public void setCity(Integer city) {
		this.city = city;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public String getSchool() {
		return school;
	}
	public void setSchool(String school) {
		this.school = school;
	}
	public Integer getLove() {
		return love;
	}
	public void setLove(Integer love) {
		this.love = love;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public Integer getHomeCountry() {
		return homeCountry;
	}
	public void setHomeCountry(Integer homeCountry) {
		this.homeCountry = homeCountry;
	}
	public Integer getHomeProvince() {
		return homeProvince;
	}
	public void setHomeProvince(Integer homeProvince) {
		this.homeProvince = homeProvince;
	}
	public Integer getHomeCity() {
		return homeCity;
	}
	public void setHomeCity(Integer homeCity) {
		this.homeCity = homeCity;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	public String getBackground() {
		return background;
	}
	public void setBackground(String background) {
		this.background = background;
	}
	public Long getBirthday() {
		return birthday;
	}
	public void setBirthday(Long birthday) {
		this.birthday = birthday;
	}
	public String getHome() {
		return home;
	}
	public void setHome(String home) {
		this.home = home;
	}	
	
}
